﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace T3._2.Controllers
{
    public class DefaultController : Controller
    {
        // GET: Default
        public ActionResult Index()
        {
            return View();
        }
        [HttpPost]
        public ActionResult Index(string name,int score,string comment)
        {
            ViewBag.Name = name;
            ViewBag.Score = score;
            ViewBag.Comment = comment;
            return View();
        }
    }
}